<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mod_footer extends CI_Controller {
    function  __construct(){
        parent::__construct();
    }
    function index(){
        $data2['setting']= $this->common_model->getone('setting',array('id'=>1));
        $data2['diadiem'] = $this->common_model->getdata('province','',array('title','id','alias'),array('id','DESC'),18);
        $data2['monhoc'] = $this->common_model->getdata('subjects',array('publish'=>1,'parentid !='=>0),array('title','id','title','alias','order'),array('order','id','ASC'),18);
        $this->load->view('mod_footer/views_footer.php',$data2);
    }
}
?>